Platform Explorer / Nuxeo Platform 2021.58

Contribution org.nuxeo.ecm.user.registration.lifecycle.contrib--lifecycle

This contribution is part of XML component org.nuxeo.ecm.user.registration.lifecycle.contrib inside nuxeo-invite-2021.58.6.jar /OSGI-INF/user-registration-lifecycle-contrib.xml

Extension Point

Extension point lifecycle of component LifeCycleService.

Registration Order

3
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <lifecycle defaultInitial="created" name="registrationRequest">
          <transitions>
            <transition destinationState="approved" name="approve">
              <description>Approve the registration request</description>
            </transition>
            <transition destinationState="rejected" name="reject">
              <description>Reject the registration request</description>
            </transition>
            <transition destinationState="accepted" name="accept">
              <description>Accept the registration request</description>
            </transition>
            <transition destinationState="processed" name="process">
              <description>Process the registration request</description>
            </transition>
          </transitions>
          <states>
            <state description="Default state" initial="true" name="created">
              <transitions>
                <transition>approve</transition>
                <transition>reject</transition>
              </transitions>
            </state>
            <state description="Registration has been approved" name="approved">
              <transitions>
                <transition>accept</transition>
              </transitions>
            </state>
            <state description="Registration has been rejected" name="rejected">
              <transitions/>
            </state>
            <state description="Registration has been accepted" name="accepted">
              <transitions>
                <transition>process</transition>
              </transitions>
            </state>
            <state description="Registration request has been processed" name="processed">
              <transitions/>
            </state>
          </states>
        </lifecycle>

    Process the registration request

XML Source

<extension point="lifecycle" target="org.nuxeo.ecm.core.lifecycle.LifeCycleService">

    <lifecycle defaultInitial="created" name="registrationRequest">
      <transitions>
        <transition destinationState="approved" name="approve">
          <description>Approve the registration request</description>
        </transition>
        <transition destinationState="rejected" name="reject">
          <description>Reject the registration request</description>
        </transition>
        <transition destinationState="accepted" name="accept">
          <description>Accept the registration request</description>
        </transition>
        <transition destinationState="processed" name="process">
          <description>Process the registration request</description>
        </transition>
      </transitions>
      <states>
        <state description="Default state" initial="true" name="created">
          <transitions>
            <transition>approve</transition>
            <transition>reject</transition>
          </transitions>
        </state>
        <state description="Registration has been approved" name="approved">
          <transitions>
            <transition>accept</transition>
          </transitions>
        </state>
        <state description="Registration has been rejected" name="rejected">
          <transitions/>
        </state>
        <state description="Registration has been accepted" name="accepted">
          <transitions>
            <transition>process</transition>
          </transitions>
        </state>
        <state description="Registration request has been processed" name="processed">
          <transitions/>
        </state>
      </states>
    </lifecycle>
  </extension>